<?php
require('../../../../lib/base.php');
$base=new base('web');
$session=$base->library('session',array('build'=>false));
if(!$session->ISSESS()){
	$helper=$base->library('helper');
	$helper->SMessage(5,domain.'view/Login.php?back='.domain.'home/module/advertisers.php',"no","登陆失效,5秒后转到登陆页");
	exit();
}
$data['member']=$session->GVAR('member');
$config=$base->model('config');
$data['customize']=$config->GConfig(array('where'=>array('label='=>'advertiser','name='=>'customize')));
$data['customize']=reset($data['customize']);$data['customize']=$data['customize']['value'];
$data['menu']=$base->cache(array('tag'=>'web.header','time'=>86400));
$data['menu']=unserialize($data['menu']);
$data['HomeMenu']=$base->cache(array('tag'=>'web.home.menu','time'=>86400));
$data['HomeMenu']=unserialize($data['HomeMenu']);
$data['foot']=$base->cache(array('tag'=>'web.footer','time'=>86400));
$base->set($data);
$base->view('home/module/customize.php');
?>